//
//  UIViewController+ProgressHUD.h
//  haierapp
//
//  Created by gaotangzhang on 14-8-29.
//  Copyright (c) 2014年 haier. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIViewController (ProgressHUD)

//显示加载提示
-(void)showLoadingHud:(NSString *)text;


//隐藏加载提示
-(void)hideLoadingHud;


//显示错误提示
-(void)showFailureHUD:(NSString *)text;

//显示成功提示
-(void)showSuccessHud:(NSString *)text;

//在window上显示提示
-(void)showSuccessHudInWindow:(NSString *)text;

//显示文字提示
-(void)showTextHUD:(NSString *)text;

//在window上显示文字提示
-(void)showTextHUDInWindow:(NSString *)text;


@end
